import { useState } from 'react'
import { useNavigate } from 'react-router-dom'

const gamePage = () => {
  const navigate = useNavigate()
  const toMusic = () => {
    navigate('/home/music')
  }
  return (
    <div>
      <h1 onClick={toMusic}>Game</h1>
    </div>
  )
}

export default gamePage
